/** 初始化 Socket */
const initSocket = () => {
  uni.connectSocket({
    url: 'ws://192.168.20.182:8255/test',
    header: {
      'content-type': 'application/json',
      'xxx': '111',
    },
    protocols: ['protocol1'],
    method: 'GET',
  })
}

export default {
  initSocket,
}
